package com.kun.dao;


import com.kun.domain.Student;

import java.util.List;

/**
 * @author Nick fang
 * @date 2021/7/10 0010 - 上午 9:54
 */
public interface StudentDao {

    //动态sql，使用java对象作为参数
    List<Student> selectStudentIf(Student student);

    //where的使用
    List<Student> selectStudentWhere(Student student);

    //foreach 用法1
    List<Student> selectForeachOne(List<Integer> idlist);

    //foreach 用法2
    List<Student> selectForeachTwo(List<Student> stulist);
}
















